#from scapy.all import *
from socket import *

#def send_ftp_pkt(payload):
#    pkt = IP(dst='172.17.0.2')/TCP(dport=21, sport=39514)/payload
#    send(pkt)

def send_ftp_pkt(payload):
    clientSock = socket(AF_INET,SOCK_STREAM)
    ADDR = ('172.17.0.2', 21)
    clientSock.connect(ADDR)
    clientSock.send(payload.encode())
